import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {RoleManagmentComponent} from './role-managment.component';

const routes: Routes = [
    {
        path: '',
        component: RoleManagmentComponent,
    },
    {
        path: 'authorization-list',
        loadChildren: './authorization-list/authorization-list.module#AuthorizationListModule'
    },
  ];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class RoleManagmentRoutingModule { }
